package cn.luow.mail.service;

import java.util.Map;

public interface IMailService {
    void sendSimpleMail (String title, String content);
    void sendSimpleMail (String title, String content,String to);

    void send( String title, String content);
    void send( String title, String content, String to);
    void send( String title, Object params);
    void send( String title, String templateName,Object params);
    void send( String title, String templateName,Object params,String to);


    void send( String title, Map<String, Object> model);
    void send( String title, String templateName,Map<String, Object> model);
    void send( String title, String templateName,Map<String, Object> model,String to);
}
